// Copyright (c) Microsoft Corporation.  All rights reserved.

#include "stdafx.h"
#include "D3D10ShaderResourceView.h"

using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D10;

ShaderResourceViewDescription^ ShaderResourceView::GetDescription()
{
    ShaderResourceViewDescription^ desc = gcnew ShaderResourceViewDescription();
    GetInterface<ID3D10ShaderResourceView>()->GetDesc(desc->nativeObject.Get());
    return desc;
}

